package Parser;

/**
 * Container to hold information about a chapter: name, content, depth
 * @author Tony
 *
 */
public class Chapter {

	
	public String name;
	public String content;
	public int depth;
	
	/**
	 * @param name
	 * @param content
	 * @param parentChapter
	 */
	public Chapter(String name, String content, int depth){
		this.name=name;
		this.content=content;
		this.depth=depth;
	}
	
	@Override
	public String toString(){
		return name+"\t"+depth+"\n\n"+content+"\n\n\n";
	}
	
	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub

	}

}
